package com.example.moban.constants;

/**
 * @author huling
 * @date: 2019/1/16.
 */
public class ValueConstants {

    public @interface Constants{
        int size = 20;
        int comment_size = 5;
        int free_course = 3;
        int class_dynamic = 3;
        int study_start = 5;
        int history_course = 3;

        /**
         * 图片类型 1 项目 2.头像 3.营销
         */
        int project_image_type = 1;
        int avatar_image_type = 2;
        int marketing_image_type = 3;

        /**
         * 首页的视频列表，收藏的视频列表，设计师的视频列表
         */
        int video_list_main = 1;
        int video_list_collect = 2;
        int video_list_designer = 3;

        /**
         * 微信支付，阿里支付
         */
        int WX_PAY = 0;
        int ALI_PAY = 1;
    }


    public @interface WebConstants{
        int ABOUT_US = 1;
        int OUTSIDE_LINK = 2;
        int USER_AGREEMENT_EXPLAIN = 3;
        int PRIVACY_AGREEMENT = 4;
        int HELP_CENTER = 5;
        int ADVER_DETAIL = 6;
        int SCORE_RULE = 7;
        int ORIGATION_DETAIL = 8;
        int ARTICLE_DETAIL = 9;
        int NOTIFY_DETAIL = 10;
        int SCORE_RULT = 11;
    }

    public @interface Actions{
        String WEB_PAGE_TYPE = "WEB_PAGE_TYPE";
        String WEB_PAGE_LINK = "WEB_PAGE_LINK";
        String OBJECT_ID = "OBJECT_ID";

        String WEB_TITLE = "WEB_TITLE";
    }

    //1.订单购买成功，2.订单待支付 3.订单退款成功 4.订单取消，5.直播提醒，6.文章精选，7.活动，8.课程，9培训，10链接，11班级通知
    public @interface MessageTypeConstants{
        int MESSAGE_TYPE_ORDER_BUY_SUCCESS = 1;
        int MESSAGE_TYPE_ORDER_WAIT_PAY = 2;
        int MESSAGE_TYPE_ORDER_REFUND_SUCCESS = 3;
        int MESSAGE_TYPE_ORDER_CANCEL = 4;
        int MESSAGE_TYPE_LIVE_HIT = 5;
        int MESSAGE_TYPE_ARTICL_CHOICENESS = 6;
        int MESSAGE_TYPE_ACTIVITY = 7;
        int MESSAGE_TYPE_COURSE = 8;
        int MESSAGE_TYPE_CULTIVATE = 9;
        int MESSAGE_TYPE_LINK = 10;
        int MESSAGE_TYPE_CLASS_NOTIFY = 11;
    }

    //直播状态（0-未开播（即将开播） 1-正在直播 2-直播结束（历史直播）
    public @interface PagePlayType{
        int PLAY_TYPE_BE_ABOUT_TO = 0;
        int PLAY_TYPE_PLAYING = 1;
        int PLAY_TYPE_HISTORY= 2;
    }

    //1 登录- 教师端 2 登录- 家长端 3 注册- 教师端 4 忘记密码 - 教师端 5 家长端app-绑定手机号第一步 6 家长端app-绑定手机号第二步(原)
    //1 登录- 教师端 2 登录- 家长端 3 注册- 教师端 4 忘记密码 - 教师端 5 家长端app - 绑定手机号第一步 6 家长端app - 绑定手机号第二步
    // 7 教师端app - 绑定手机号第一步 8 教师端app - 绑定手机号第二步 9 H5 邀请加入班级 10 H5邀请加入机构 11.H5 邀请分销购买
    // 55.教师端忘记密码 66.平台端忘记密码
    public @interface ValidateCodeType{
        int VALIDATE_CODE_TYPE_TEACHER_LOGIN = 1;
        int VALIDATE_CODE_TYPE_PATRIARCH_LOGIN = 2;
        int VALIDATE_CODE_TYPE_TEACHER_REGIST = 3;
        int VALIDATE_CODE_TYPE_TEACHER_FORGET_PWD = 4;
        int VALIDATE_CODE_TYPE_PATRIARCH_BIND_PHONE_ONE = 5;
        int VALIDATE_CODE_TYPE_PATRIARCH_BIND_PHONE_TWO = 6;

    }

    public @interface RelationshipValue{
        //家长称谓标示: 1.爸爸 2.妈妈 3爷爷4 奶奶 5姥姥 6姥爷 7其他
        int RELATIONSHIP_VALUE_FATHER = 1;
        int RELATIONSHIP_VALUE_MOM = 2;
        int RELATIONSHIP_VALUE_GRANDFATHER = 3;
        int RELATIONSHIP_VALUE_GRANDMOTHER = 4;
        int RELATIONSHIP_VALUE_GRANDMO = 5;
        int RELATIONSHIP_VALUE_GRANDPA = 6;
        int RELATIONSHIP_VALUE_ELSE = 7;
    }

    public @interface PriceTypeValue{
        int NORMAL_PRICE_TYPE = 1;        //正价
        int COST_PRICE_TYPE = 2;          //成本价
        int ACTIVITY_PRICE_TYPE = 3;      //活动价
    }

    public @interface CollectCourseType{
        //1-家长套餐 2-免费课程 3-专题
        int PATRIARCH_COURSE_SET_MEAL_TYPE = 1;        //家长套餐
        int FREE_COURSE_TYPE = 2;                      //免费课程
        int SPECIAL_COURSE_TYPE = 3;                   //专题
    }

    public @interface CoursePageType{
        int LISTENING_TEST_COURSE_TYPE = 1;        //试听课程
        int HISTORY_COURSE_TYPE = 2;          //历史课程
        int PATRIARCH_COURSE_TYPE = 3;      //家长课程
    }

    public @interface ScoreType{
//        1.签到 2.课程 3.邀请注册4.评论积分5.课程前五名6购买
        int SIGN_IN_TYPE = 1;
        int COURSE_TYPE = 2;
        int INVITATION_REGIST_TYPE = 3;
        int COMMENT_SCORE_TYPE = 4;
        int COURSE_FIVE_BEFORE_TYPE = 5;
        int BUY_TYPE = 6;
    }

    public @interface CommonUrl{
        int USER_AGREEMENT_TYPE = 1;
        int ABOUS_US_TYPE = 2;
        int SCORE_RULE_TYPE = 3;
        int ATTICL_DETAIL_TYPE = 6;
    }

    /**
     * 音视频播放模式
     */
    public @interface PlayResourceMode{
        int VIDEO_MODEL = 1;
        int AUDIO_MODEL = 2;
    }

    /**
     *  1今天 2 一周内 3 更久之前
     */
    public @interface DateType{
        int DATE_TYPE_TODAY = 1;
        int DATE_TYPE_IN_WEEK = 2;
        int DATE_TYPE_ELSE = 3;
    }
}